]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Fully hide icon when dragging
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 24 Jun 2020 15:53:36 +0000 (12:53 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 20 Jul 2020 16:13:20 +0000 (16:13 +0000)
The partially visible icon causes more problems than
it solves, visually speaking. Fade it out completely
while dragging.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284

js/ui/appDisplay.js

index 546d509b04c81b33445f7c28f6cba4b62ae301f5..3346c8ffd9446603dae3f4af78e9592dd93b1407 100644 (file)
@@ -1365,9 +1365,9 @@ class AppViewItem extends St.Button {
     scaleAndFade() {
         this.reactive = false;
         this.ease({
-            scale_x: 0.75,
-            scale_y: 0.75,
-            opacity: 128,
+            scale_x: 0.5,
+            scale_y: 0.5,
+            opacity: 0,
         });
     }